import Vue from 'vue'
import Router from '../vueRouter'
Vue.use(Router)

export default new Router({
  mode: "history",
  routes: [
    {
      path: "/",
      // redirect: '/home'
      component: () => import('../view/home.vue')
    },
    {
      path: "/about",
      component: () => import('../view/about.vue')
    },
    {
      path: "/home",
      component: () => import('../view/home.vue')
    }
  ]
})